**** dT 0.000 * top TEST ../../../../bin/varnishtest/tests/r01225.vtc starting **** top extmacro def pkg_version=trunk **** top extmacro def pkg_branch=trunk **** top extmacro def pwd=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:41015 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top extmacro def topbuild=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub **** top extmacro def topsrc=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/../.. **** top macro def testdir=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest/../../../../bin/varnishtest/tests **** top macro def tmpdir=/home/linux1/VT/_vtest_tmp/vtc.2655199.72ab03d1 **** top macro def vtcid=vtc.2655199.72ab03d1 ** top === varnishtest "Test bans_req counter on persistent reload - #1... * top VTEST Test bans_req counter on persistent reload - #1225 ** top === feature persistent_storage ** top === shell "rm -f ${tmpdir}/_.per" **** top shell_cmd|exec 2>&1 ; rm -f /home/linux1/VT/_vtest_tmp/vtc.2655199.72ab03d1/_.per **** dT 0.013 **** top shell_status = 0x0000 ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=40113 **** s1 macro def s1_sock=127.0.0.1:40113 * s1 Listen on 127.0.0.1:40113 ** top === varnish v1 \ **** dT 0.015 ** s1 Started on 127.0.0.1:40113 (1 iterations) **** dT 0.028 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /home/linux1/VT/_vtest_tmp/vtc.2655199.72ab03d1/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug,+H2RxHdr,+H2RxBody -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 46411' -P /home/linux1/VT/_vtest_tmp/vtc.2655199.72ab03d1/v1/varnishd.pid -p vmod_path=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/vmod/.libs -pfeature=+wait_silo -sdeprecated_persistent,/home/linux1/VT/_vtest_tmp/vtc.2655199.72ab03d1/_.per,5m -pban_lurker_sleep=0.01 *** v1 CMD: cd /home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest && exec varnishd -d -n /home/linux1/VT/_vtest_tmp/vtc.2655199.72ab03d1/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug,+H2RxHdr,+H2RxBody -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 46411' -P /home/linux1/VT/_vtest_tmp/vtc.2655199.72ab03d1/v1/varnishd.pid -p vmod_path=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/vmod/.libs -pfeature=+wait_silo -sdeprecated_persistent,/home/linux1/VT/_vtest_tmp/vtc.2655199.72ab03d1/_.per,5m -pban_lurker_sleep=0.01 *** v1 PID: 2655220 **** v1 macro def v1_pid=2655220 **** v1 macro def v1_name=/home/linux1/VT/_vtest_tmp/vtc.2655199.72ab03d1/v1 **** dT 0.032 *** v1 debug|Info: Working directory not mounted on tmpfs partition **** dT 0.059 *** v1 debug|Debug: Version: varnish-trunk revision c8c016d8abdc9144279fefa2b411e7ebda8af118 *** v1 debug|Debug: Platform: Linux,4.18.0-553.34.1.el8_10.s390x,s390x,-jlinux,-sdeprecated_persistent,-sdefault,-hcritbit *** v1 debug|200 343 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,4.18.0-553.34.1.el8_10.s390x,s390x,-jlinux,-sdeprecated_persistent,-sdefault,-hcritbit *** v1 debug|varnish-trunk revision c8c016d8abdc9144279fefa2b411e7ebda8af118 *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.161 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 7 *** v1 CLI RX 107 **** v1 CLI RX|fnhoyjrmlbdqgdlmovukoolbqkltqeld **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth d3af7421e60fe59efb050516cdd6c8f3c1ce0a6b0c458393ef99b3897faaa2e7 **** dT 0.168 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,4.18.0-553.34.1.el8_10.s390x,s390x,-jlinux,-sdeprecated_persistent,-sdefault,-hcritbit **** v1 CLI RX|varnish-trunk revision c8c016d8abdc9144279fefa2b411e7ebda8af118 **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "40113"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.270 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.370 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.475 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.512 *** v1 CLI RX 200 **** v1 CLI RX|VCL compiled. **** v1 CLI TX|vcl.use vcl1 *** v1 CLI RX 200 **** v1 CLI RX|VCL 'vcl1' now active ** v1 Start **** v1 CLI TX|start **** dT 0.576 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.590 *** v1 debug|Debug: Child (2655233) Started **** dT 0.679 *** v1 debug|Child launched OK **** dT 0.681 *** v1 CLI RX 200 *** v1 wait-running **** v1 CLI TX|status *** v1 CLI RX 200 **** v1 CLI RX|Child in state running **** v1 CLI TX|debug.listen_address *** v1 debug|Info: Child (2655233) said Child starts *** v1 debug|Info: Child (2655233) said NB: Disabled ASLR for Persistent *** v1 debug|Info: Child (2655233) said sizeof(struct smp_ident) = 112 = 0x70 *** v1 debug|Info: Child (2655233) said sizeof(struct smp_sign) = 32 = 0x20 *** v1 debug|Info: Child (2655233) said sizeof(struct smp_segptr) = 32 = 0x20 *** v1 debug|Info: Child (2655233) said sizeof(struct smp_object) = 72 = 0x48 *** v1 debug|Info: Child (2655233) said CHK(0x2e6e7568 SILO 0x3ffa2780000 ) = 1 *** v1 debug|Info: Child (2655233) said Warning SILO (/home/linux1/VT/_vtest_tmp/vtc.2655199.72ab03d1/_.per) not reloaded (reason=1) *** v1 debug|Info: Child (2655233) said min_nseg = 10, max_segl = 104441 *** v1 debug|Info: Child (2655233) said max_nseg = 6553, min_segl = 159 *** v1 debug|Info: Child (2655233) said aim_nseg = 255, aim_segl = 4095 *** v1 debug|Info: Child (2655233) said free_reserve = 40950 *** v1 debug|Info: Child (2655233) said Wrapped silo *** v1 debug|Info: Child (2655233) said Silo completely loaded **** dT 0.738 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 39871 **** v1 CLI TX|debug.xid 1000 **** dT 0.780 **** v1 vsl| 0 CLI - Rd vcl.load "vcl1" vcl_vcl1.1737394166.284478/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 200 52 Loaded "vcl_vcl1.1737394166.284478/vgc.so" as "vcl1" **** v1 vsl| 0 CLI - Rd vcl.use "vcl1" **** v1 vsl| 0 CLI - Wr 200 0 **** v1 vsl| 0 CLI - Rd start **** v1 vsl| 0 Debug - sockopt: Setting SO_LINGER for a0=127.0.0.1:39871 **** v1 vsl| 0 Debug - sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:39871 **** v1 vsl| 0 Debug - sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:39871 **** v1 vsl| 0 Debug - sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:39871 **** v1 vsl| 0 Debug - sockopt: Setting TCP_NODELAY for a0=127.0.0.1:39871 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPIDLE for a0=127.0.0.1:39871 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPCNT for a0=127.0.0.1:39871 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPINTVL for a0=127.0.0.1:39871 **** v1 vsl| 0 CLI - Wr 200 0 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 39871 **** dT 0.792 *** v1 CLI RX 200 **** v1 CLI RX|XID is 1000 chunk 1 **** v1 CLI TX|debug.listen_address **** dT 0.841 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 39871 ** v1 Listen on 127.0.0.1 39871 **** v1 macro def v1_addr=127.0.0.1 **** v1 macro def v1_port=39871 **** v1 macro def v1_sock=127.0.0.1:39871 **** v1 macro def v1_a0_addr=127.0.0.1 **** v1 macro def v1_a0_port=39871 **** v1 macro def v1_a0_sock=127.0.0.1:39871 ** top === varnish v1 -cliok ban.list **** v1 CLI TX|ban.list **** dT 0.880 **** v1 vsl| 0 CLI - Rd debug.xid 1000 **** v1 vsl| 0 CLI - Wr 200 19 XID is 1000 chunk 1 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 39871 **** dT 0.892 *** v1 CLI RX 200 **** v1 CLI RX|Present bans: **** v1 CLI RX|1737394166.775689 0 C ** v1 CLI 200 ** top === client c1 { ** c1 Starting client ** c1 Waiting for client ** c1 Started on 127.0.0.1:39871 (1 iterations) *** c1 Connect to 127.0.0.1:39871 **** dT 0.893 *** c1 connected fd 17 from 127.0.0.1 42172 to 127.0.0.1:39871 ** c1 === txreq -url "/" **** c1 txreq|GET / HTTP/1.1\r **** c1 txreq|Host: 127.0.0.1\r **** c1 txreq|User-Agent: c1\r **** c1 txreq|\r ** c1 === rxresp **** dT 0.897 *** s1 accepted fd 5 127.0.0.1 32830 **** dT 0.898 ** s1 === rxreq **** s1 rxhdr|GET / HTTP/1.1\r **** s1 rxhdr|Host: 127.0.0.1\r **** s1 rxhdr|User-Agent: c1\r **** s1 rxhdr|X-Forwarded-For: 127.0.0.1\r **** s1 rxhdr|Via: 1.1 v1 (Varnish/trunk)\r **** s1 rxhdr|Accept-Encoding: gzip\r **** s1 rxhdr|X-Varnish: 1002\r **** s1 rxhdr|\r **** s1 rxhdrlen = 148 **** s1 http[ 0] |GET **** s1 http[ 1] |/ **** s1 http[ 2] |HTTP/1.1 **** s1 http[ 3] |Host: 127.0.0.1 **** s1 http[ 4] |User-Agent: c1 **** s1 http[ 5] |X-Forwarded-For: 127.0.0.1 **** s1 http[ 6] |Via: 1.1 v1 (Varnish/trunk) **** s1 http[ 7] |Accept-Encoding: gzip **** s1 http[ 8] |X-Varnish: 1002 **** s1 bodylen = 0 ** s1 === expect req.url == "/" **** s1 EXPECT req.url (/) == "/" match ** s1 === txresp -hdr "Foo: foo" **** s1 txresp|HTTP/1.1 200 OK\r **** s1 txresp|Foo: foo\r **** s1 txresp|Date: Mon, 20 Jan 2025 17:29:27 GMT\r **** s1 txresp|Server: s1\r **** s1 txresp|Content-Length: 0\r **** s1 txresp|\r *** s1 shutting fd 5 ** s1 Ending **** dT 0.911 **** c1 rxhdr|HTTP/1.1 200 OK\r **** c1 rxhdr|Foo: foo\r **** c1 rxhdr|Date: Mon, 20 Jan 2025 17:29:27 GMT\r **** c1 rxhdr|Server: s1\r **** c1 rxhdr|Content-Length: 0\r **** c1 rxhdr|X-Varnish: 1001\r **** c1 rxhdr|Age: 0\r **** c1 rxhdr|Via: 1.1 v1 (Varnish/trunk)\r **** c1 rxhdr|Accept-Ranges: bytes\r **** c1 rxhdr|Connection: keep-alive\r **** c1 rxhdr|\r **** c1 rxhdrlen = 197 **** c1 http[ 0] |HTTP/1.1 **** c1 http[ 1] |200 **** c1 http[ 2] |OK **** c1 http[ 3] |Foo: foo **** c1 http[ 4] |Date: Mon, 20 Jan 2025 17:29:27 GMT **** c1 http[ 5] |Server: s1 **** c1 http[ 6] |Content-Length: 0 **** c1 http[ 7] |X-Varnish: 1001 **** c1 http[ 8] |Age: 0 **** c1 http[ 9] |Via: 1.1 v1 (Varnish/trunk) **** c1 http[10] |Accept-Ranges: bytes **** c1 http[11] |Connection: keep-alive **** c1 bodylen = 0 ** c1 === expect resp.status == 200 **** c1 EXPECT resp.status (200) == "200" match ** c1 === expect resp.http.foo == "foo" **** c1 EXPECT resp.http.foo (foo) == "foo" match *** c1 closing fd 17 ** c1 Ending **** dT 0.915 ** top === varnish v1 -expect bans == 1 ** v1 as expected: bans (1) == 1 (1) ** top === varnish v1 -cliok "ban req.url == /" **** v1 CLI TX|ban req.url == / **** dT 0.967 *** v1 CLI RX 200 ** v1 CLI 200 ** top === varnish v1 -cliok ban.list **** v1 CLI TX|ban.list **** dT 0.981 **** v1 vsl| 0 CLI - Rd ban.list **** v1 vsl| 0 CLI - Wr 200 42 Present bans: 1737394166.775689 0 C **** v1 vsl| 1000 Begin c sess 0 HTTP/1 **** v1 vsl| 1000 SessOpen c 127.0.0.1 42172 a0 127.0.0.1 39871 1737394167.009035 23 **** v1 vsl| 1000 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:39871 **** v1 vsl| 1000 Debug c sockopt: SO_KEEPALIVE may be inherited for a0=127.0.0.1:39871 **** v1 vsl| 1000 Debug c sockopt: SO_SNDTIMEO may be inherited for a0=127.0.0.1:39871 **** v1 vsl| 1000 Debug c sockopt: SO_RCVTIMEO may be inherited for a0=127.0.0.1:39871 **** v1 vsl| 1000 Debug c sockopt: TCP_NODELAY may be inherited for a0=127.0.0.1:39871 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:39871 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:39871 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:39871 **** v1 vsl| 1000 Link c req 1001 rxreq **** v1 vsl| 1002 Begin b bereq 1001 fetch **** v1 vsl| 1002 VCL_use b vcl1 **** v1 vsl| 1002 Timestamp b Start: 1737394167.011865 0.000000 0.000000 **** v1 vsl| 1002 BereqMethod b GET **** v1 vsl| 1002 BereqURL b / **** v1 vsl| 1002 BereqProtocol b HTTP/1.1 **** v1 vsl| 1002 BereqHeader b Host: 127.0.0.1 **** v1 vsl| 1002 BereqHeader b User-Agent: c1 **** v1 vsl| 1002 BereqHeader b X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1002 BereqHeader b Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1002 BereqHeader b Accept-Encoding: gzip **** v1 vsl| 1002 BereqHeader b X-Varnish: 1002 **** v1 vsl| 1002 VCL_call b BACKEND_FETCH **** v1 vsl| 1002 VCL_return b fetch **** v1 vsl| 1002 Timestamp b Fetch: 1737394167.011973 0.000108 0.000108 **** v1 vsl| 1002 Timestamp b Connected: 1737394167.012011 0.000146 0.000037 **** v1 vsl| 1002 BackendOpen b 26 s1 127.0.0.1 40113 127.0.0.1 32830 connect **** v1 vsl| 1002 Timestamp b Bereq: 1737394167.012034 0.000168 0.000022 **** v1 vsl| 1002 BerespProtocol b HTTP/1.1 **** v1 vsl| 1002 BerespStatus b 200 **** v1 vsl| 1002 BerespReason b OK **** v1 vsl| 1002 BerespHeader b Foo: foo **** v1 vsl| 1002 BerespHeader b Date: Mon, 20 Jan 2025 17:29:27 GMT **** v1 vsl| 1002 BerespHeader b Server: s1 **** v1 vsl| 1002 BerespHeader b Content-Length: 0 **** v1 vsl| 1002 Timestamp b Beresp: 1737394167.014353 0.002487 0.002319 **** v1 vsl| 1002 TTL b RFC 120 10 0 1737394167 1737394167 1737394167 0 0 cacheable **** v1 vsl| 1002 VCL_call b BACKEND_RESPONSE **** v1 vsl| 1002 VCL_return b deliver **** v1 vsl| 1002 Timestamp b Process: 1737394167.014377 0.002512 0.000024 **** v1 vsl| 1002 Filters b **** v1 vsl| 1002 Storage b deprecated_persistent s0 **** v1 vsl| 1002 Fetch_Body b 0 none - **** v1 vsl| 1002 BackendClose b 26 s1 recycle **** v1 vsl| 1002 Timestamp b BerespBody: 1737394167.027408 0.015543 0.013031 **** v1 vsl| 1002 Length b 0 **** v1 vsl| 1002 BereqAcct b 148 0 148 97 0 97 **** v1 vsl| 1002 End b **** v1 vsl| 1001 Begin c req 1000 rxreq **** v1 vsl| 1001 Timestamp c Start: 1737394167.009067 0.000000 0.000000 **** v1 vsl| 1001 Timestamp c Req: 1737394167.009067 0.000000 0.000000 **** v1 vsl| 1001 VCL_use c vcl1 **** v1 vsl| 1001 ReqStart c 127.0.0.1 42172 a0 **** v1 vsl| 1001 ReqMethod c GET **** v1 vsl| 1001 ReqURL c / **** v1 vsl| 1001 ReqProtocol c HTTP/1.1 **** v1 vsl| 1001 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1001 ReqHeader c User-Agent: c1 **** v1 vsl| 1001 ReqHeader c X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1001 ReqHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1001 VCL_call c RECV **** v1 vsl| 1001 VCL_return c hash **** v1 vsl| 1001 VCL_call c HASH **** v1 vsl| 1001 VCL_return c lookup **** v1 vsl| 1001 VCL_call c MISS **** v1 vsl| 1001 VCL_return c fetch **** v1 vsl| 1001 Link c bereq 1002 fetch **** v1 vsl| 1001 Timestamp c Fetch: 1737394167.027433 0.018365 0.018365 **** v1 vsl| 1001 RespProtocol c HTTP/1.1 **** v1 vsl| 1001 RespStatus c 200 **** v1 vsl| 1001 RespReason c OK **** v1 vsl| 1001 RespHeader c Foo: foo **** v1 vsl| 1001 RespHeader c Date: Mon, 20 Jan 2025 17:29:27 GMT **** v1 vsl| 1001 RespHeader c Server: s1 **** v1 vsl| 1001 RespHeader c Content-Length: 0 **** v1 vsl| 1001 RespHeader c X-Varnish: 1001 **** v1 vsl| 1001 RespHeader c Age: 0 **** v1 vsl| 1001 RespHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1001 RespHeader c Accept-Ranges: bytes **** v1 vsl| 1001 VCL_call c DELIVER **** v1 vsl| 1001 VCL_return c deliver **** v1 vsl| 1001 Timestamp c Process: 1737394167.027454 0.018387 0.000021 **** v1 vsl| 1001 Filters c **** v1 vsl| 1001 RespHeader c Connection: keep-alive **** v1 vsl| 1001 Timestamp c Resp: 1737394167.027473 0.018405 0.000018 **** v1 vsl| 1001 ReqAcct c 51 0 51 197 0 197 **** v1 vsl| 1001 End c **** v1 vsl| 1000 SessClose c REM_CLOSE 0.019 **** v1 vsl| 1000 End c **** v1 vsl| 0 CLI - Rd ban req.url == / **** v1 vsl| 0 CLI - Wr 200 0 **** dT 1.021 *** v1 CLI RX 200 **** v1 CLI RX|Present bans: **** v1 CLI RX|1737394167.082556 0 - req.url == / **** v1 CLI RX|1737394166.775689 1 C ** v1 CLI 200 ** top === varnish v1 -expect bans == 2 ** v1 as expected: bans (2) == 2 (2) ** top === varnish v1 -expect bans_req == 1 ** v1 as expected: bans_req (1) == 1 (1) ** top === varnish v1 -stop ** v1 Stop **** v1 CLI TX|stop **** dT 1.065 *** v1 debug|Debug: Stopping Child **** dT 1.081 **** v1 vsl| 0 CLI - Rd ban.list **** v1 vsl| 0 CLI - Wr 200 82 Present bans: 1737394167.082556 0 - req.url == / 1737394166.775689 1 C **** v1 vsl| 0 CLI - EOF on CLI connection, worker stops **** dT 1.884 *** v1 CLI RX 200 *** v1 wait-stopped **** v1 CLI TX|status *** v1 CLI RX 200 **** v1 CLI RX|Child in state stopped ** top === server s1 -wait ** s1 Waiting for server (4/-1) ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=40113 **** s1 macro def s1_sock=127.0.0.1:40113 * s1 Listen on 127.0.0.1:40113 ** top === varnish v1 -start ** v1 Start **** v1 CLI TX|start *** v1 debug|Info: Child (2655233) said Child dies *** v1 debug|Info: Child (2655233) ended *** v1 debug|Debug: Child cleanup complete ** s1 Started on 127.0.0.1:40113 (1 iterations) **** dT 1.954 *** v1 debug|Debug: Child (2655273) Started **** dT 2.990 *** v1 CLI RX 200 *** v1 wait-running **** v1 CLI TX|status *** v1 CLI RX 200 **** v1 CLI RX|Child in state running **** v1 CLI TX|debug.listen_address *** v1 debug|Child launched OK *** v1 debug|Info: Child (2655273) said Child starts *** v1 debug|Info: Child (2655273) said NB: Disabled ASLR for Persistent *** v1 debug|Info: Child (2655273) said sizeof(struct smp_ident) = 112 = 0x70 *** v1 debug|Info: Child (2655273) said sizeof(struct smp_sign) = 32 = 0x20 *** v1 debug|Info: Child (2655273) said sizeof(struct smp_segptr) = 32 = 0x20 *** v1 debug|Info: Child (2655273) said sizeof(struct smp_object) = 72 = 0x48 *** v1 debug|Info: Child (2655273) said min_nseg = 10, max_segl = 104441 *** v1 debug|Info: Child (2655273) said max_nseg = 6553, min_segl = 159 *** v1 debug|Info: Child (2655273) said aim_nseg = 255, aim_segl = 4095 *** v1 debug|Info: Child (2655273) said free_reserve = 40950 *** v1 debug|Info: Child (2655273) said Dropped 0 segments to make free_reserve *** v1 debug|Info: Child (2655273) said Silo completely loaded **** dT 3.011 **** v1 vsl| 0 CLI - Rd vcl.load "vcl1" vcl_vcl1.1737394166.284478/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 200 52 Loaded "vcl_vcl1.1737394166.284478/vgc.so" as "vcl1" **** v1 vsl| 0 CLI - Rd vcl.use "vcl1" **** v1 vsl| 0 CLI - Wr 200 0 **** v1 vsl| 0 CLI - Rd start **** v1 vsl| 0 Debug - sockopt: Setting SO_LINGER for a0=127.0.0.1:39871 **** v1 vsl| 0 Debug - sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:39871 **** v1 vsl| 0 Debug - sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:39871 **** v1 vsl| 0 Debug - sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:39871 **** v1 vsl| 0 Debug - sockopt: Setting TCP_NODELAY for a0=127.0.0.1:39871 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPIDLE for a0=127.0.0.1:39871 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPCNT for a0=127.0.0.1:39871 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPINTVL for a0=127.0.0.1:39871 **** v1 vsl| 0 CLI - Wr 200 0 **** dT 3.035 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 39871 **** v1 CLI TX|debug.xid 1000 **** dT 3.083 *** v1 CLI RX 200 **** v1 CLI RX|XID is 1000 chunk 1 **** v1 CLI TX|debug.listen_address **** dT 3.113 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 39871 **** v1 vsl| 0 CLI - Rd debug.xid 1000 **** v1 vsl| 0 CLI - Wr 200 19 XID is 1000 chunk 1 **** dT 3.133 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 39871 ** v1 Listen on 127.0.0.1 39871 **** v1 macro def v1_addr=127.0.0.1 **** v1 macro def v1_port=39871 **** v1 macro def v1_sock=127.0.0.1:39871 **** v1 macro def v1_a0_addr=127.0.0.1 **** v1 macro def v1_a0_port=39871 **** v1 macro def v1_a0_sock=127.0.0.1:39871 ** top === varnish v1 -cliok ban.list **** v1 CLI TX|ban.list **** dT 3.183 *** v1 CLI RX 200 **** v1 CLI RX|Present bans: **** v1 CLI RX|1737394168.101169 0 C **** v1 CLI RX|1737394167.082556 0 - req.url == / **** v1 CLI RX|1737394166.775689 1 C ** v1 CLI 200 ** top === varnish v1 -expect bans >= 2 **** dT 3.184 ** v1 as expected: bans (3) >= 2 (2) ** top === client c1 { ** c1 Starting client ** c1 Waiting for client ** c1 Started on 127.0.0.1:39871 (1 iterations) *** c1 Connect to 127.0.0.1:39871 *** c1 connected fd 19 from 127.0.0.1 39920 to 127.0.0.1:39871 ** c1 === txreq -url "/" **** c1 txreq|GET / HTTP/1.1\r **** c1 txreq|Host: 127.0.0.1\r **** c1 txreq|User-Agent: c1\r **** c1 txreq|\r ** c1 === rxresp **** dT 3.185 *** s1 accepted fd 18 127.0.0.1 49640 ** s1 === rxreq **** s1 rxhdr|GET / HTTP/1.1\r **** s1 rxhdr|Host: 127.0.0.1\r **** s1 rxhdr|User-Agent: c1\r **** s1 rxhdr|X-Forwarded-For: 127.0.0.1\r **** s1 rxhdr|Via: 1.1 v1 (Varnish/trunk)\r **** s1 rxhdr|Accept-Encoding: gzip\r **** s1 rxhdr|X-Varnish: 1002\r **** s1 rxhdr|\r **** s1 rxhdrlen = 148 **** s1 http[ 0] |GET **** s1 http[ 1] |/ **** s1 http[ 2] |HTTP/1.1 **** s1 http[ 3] |Host: 127.0.0.1 **** s1 http[ 4] |User-Agent: c1 **** s1 http[ 5] |X-Forwarded-For: 127.0.0.1 **** s1 http[ 6] |Via: 1.1 v1 (Varnish/trunk) **** s1 http[ 7] |Accept-Encoding: gzip **** s1 http[ 8] |X-Varnish: 1002 **** s1 bodylen = 0 ** s1 === expect req.url == "/" **** s1 EXPECT req.url (/) == "/" match ** s1 === txresp -hdr "Foo: bar" **** s1 txresp|HTTP/1.1 200 OK\r **** s1 txresp|Foo: bar\r **** s1 txresp|Date: Mon, 20 Jan 2025 17:29:29 GMT\r **** s1 txresp|Server: s1\r **** s1 txresp|Content-Length: 0\r **** s1 txresp|\r *** s1 shutting fd 18 ** s1 Ending **** dT 3.197 **** c1 rxhdr|HTTP/1.1 200 OK\r **** c1 rxhdr|Foo: bar\r **** c1 rxhdr|Date: Mon, 20 Jan 2025 17:29:29 GMT\r **** c1 rxhdr|Server: s1\r **** c1 rxhdr|Content-Length: 0\r **** c1 rxhdr|X-Varnish: 1001\r **** c1 rxhdr|Age: 0\r **** c1 rxhdr|Via: 1.1 v1 (Varnish/trunk)\r **** c1 rxhdr|Accept-Ranges: bytes\r **** c1 rxhdr|Connection: keep-alive\r **** c1 rxhdr|\r **** c1 rxhdrlen = 197 **** c1 http[ 0] |HTTP/1.1 **** c1 http[ 1] |200 **** c1 http[ 2] |OK **** c1 http[ 3] |Foo: bar **** c1 http[ 4] |Date: Mon, 20 Jan 2025 17:29:29 GMT **** c1 http[ 5] |Server: s1 **** c1 http[ 6] |Content-Length: 0 **** c1 http[ 7] |X-Varnish: 1001 **** c1 http[ 8] |Age: 0 **** c1 http[ 9] |Via: 1.1 v1 (Varnish/trunk) **** c1 http[10] |Accept-Ranges: bytes **** c1 http[11] |Connection: keep-alive **** c1 bodylen = 0 ** c1 === expect resp.status == 200 **** c1 EXPECT resp.status (200) == "200" match ** c1 === expect resp.http.foo == "bar" **** c1 EXPECT resp.http.foo (bar) == "bar" match *** c1 closing fd 19 ** c1 Ending ** top === varnish v1 -cliok ban.list **** v1 CLI TX|ban.list **** dT 3.214 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 39871 **** v1 vsl| 0 CLI - Rd ban.list **** v1 vsl| 0 CLI - Wr 200 110 Present bans: 1737394168.101169 0 C 1737394167.082556 0 - req.url == / 1737394166.775689 1 C **** v1 vsl| 1000 Begin c sess 0 HTTP/1 **** v1 vsl| 1000 SessOpen c 127.0.0.1 39920 a0 127.0.0.1 39871 1737394169.300960 23 **** v1 vsl| 1000 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:39871 **** v1 vsl| 1000 Debug c sockopt: SO_KEEPALIVE may be inherited for a0=127.0.0.1:39871 **** v1 vsl| 1000 Debug c sockopt: SO_SNDTIMEO may be inherited for a0=127.0.0.1:39871 **** v1 vsl| 1000 Debug c sockopt: SO_RCVTIMEO may be inherited for a0=127.0.0.1:39871 **** v1 vsl| 1000 Debug c sockopt: TCP_NODELAY may be inherited for a0=127.0.0.1:39871 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:39871 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:39871 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:39871 **** v1 vsl| 1000 Link c req 1001 rxreq **** v1 vsl| 1002 Begin b bereq 1001 fetch **** v1 vsl| 1002 VCL_use b vcl1 **** v1 vsl| 1002 Timestamp b Start: 1737394169.301111 0.000000 0.000000 **** v1 vsl| 1002 BereqMethod b GET **** v1 vsl| 1002 BereqURL b / **** v1 vsl| 1002 BereqProtocol b HTTP/1.1 **** v1 vsl| 1002 BereqHeader b Host: 127.0.0.1 **** v1 vsl| 1002 BereqHeader b User-Agent: c1 **** v1 vsl| 1002 BereqHeader b X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1002 BereqHeader b Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1002 BereqHeader b Accept-Encoding: gzip **** v1 vsl| 1002 BereqHeader b X-Varnish: 1002 **** v1 vsl| 1002 VCL_call b BACKEND_FETCH **** v1 vsl| 1002 VCL_return b fetch **** v1 vsl| 1002 Timestamp b Fetch: 1737394169.301128 0.000016 0.000016 **** v1 vsl| 1002 Timestamp b Connected: 1737394169.301160 0.000049 0.000032 **** v1 vsl| 1002 BackendOpen b 25 s1 127.0.0.1 40113 127.0.0.1 49640 connect **** v1 vsl| 1002 Timestamp b Bereq: 1737394169.301180 0.000069 0.000020 **** v1 vsl| 1002 BerespProtocol b HTTP/1.1 **** v1 vsl| 1002 BerespStatus b 200 **** v1 vsl| 1002 BerespReason b OK **** v1 vsl| 1002 BerespHeader b Foo: bar **** v1 vsl| 1002 BerespHeader b Date: Mon, 20 Jan 2025 17:29:29 GMT **** v1 vsl| 1002 BerespHeader b Server: s1 **** v1 vsl| 1002 BerespHeader b Content-Length: 0 **** v1 vsl| 1002 Timestamp b Beresp: 1737394169.301362 0.000251 0.000181 **** v1 vsl| 1002 TTL b RFC 120 10 0 1737394169 1737394169 1737394169 0 0 cacheable **** v1 vsl| 1002 VCL_call b BACKEND_RESPONSE **** v1 vsl| 1002 VCL_return b deliver **** v1 vsl| 1002 Timestamp b Process: 1737394169.301384 0.000273 0.000021 **** v1 vsl| 1002 Filters b **** v1 vsl| 1002 Storage b deprecated_persistent s0 **** v1 vsl| 1002 Fetch_Body b 0 none - **** v1 vsl| 1002 BackendClose b 25 s1 recycle **** v1 vsl| 1002 Timestamp b BerespBody: 1737394169.313077 0.011966 0.011693 **** v1 vsl| 1002 Length b 0 **** v1 vsl| 1002 BereqAcct b 148 0 148 97 0 97 **** v1 vsl| 1002 End b **** v1 vsl| 1001 Begin c req 1000 rxreq **** v1 vsl| 1001 Timestamp c Start: 1737394169.300995 0.000000 0.000000 **** v1 vsl| 1001 Timestamp c Req: 1737394169.300995 0.000000 0.000000 **** v1 vsl| 1001 VCL_use c vcl1 **** v1 vsl| 1001 ReqStart c 127.0.0.1 39920 a0 **** v1 vsl| 1001 ReqMethod c GET **** v1 vsl| 1001 ReqURL c / **** v1 vsl| 1001 ReqProtocol c HTTP/1.1 **** v1 vsl| 1001 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1001 ReqHeader c User-Agent: c1 **** v1 vsl| 1001 ReqHeader c X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1001 ReqHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1001 VCL_call c RECV **** v1 vsl| 1001 VCL_return c hash **** v1 vsl| 1001 VCL_call c HASH **** v1 vsl| 1001 VCL_return c lookup **** v1 vsl| 1001 ExpBan c 1002 banned lookup **** v1 vsl| 1001 VCL_call c MISS **** v1 vsl| 1001 VCL_return c fetch **** v1 vsl| 1001 Link c bereq 1002 fetch **** v1 vsl| 1001 Timestamp c Fetch: 1737394169.313454 0.012459 0.012459 **** v1 vsl| 1001 RespProtocol c HTTP/1.1 **** v1 vsl| 1001 RespStatus c 200 **** v1 vsl| 1001 RespReason c OK **** v1 vsl| 1001 RespHeader c Foo: bar **** v1 vsl| 1001 RespHeader c Date: Mon, 20 Jan 2025 17:29:29 GMT **** v1 vsl| 1001 RespHeader c Server: s1 **** v1 vsl| 1001 RespHeader c Content-Length: 0 **** v1 vsl| 1001 RespHeader c X-Varnish: 1001 **** v1 vsl| 1001 RespHeader c Age: 0 **** v1 vsl| 1001 RespHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1001 RespHeader c Accept-Ranges: bytes **** v1 vsl| 1001 VCL_call c DELIVER **** v1 vsl| 1001 VCL_return c deliver **** v1 vsl| 1001 Timestamp c Process: 1737394169.313477 0.012482 0.000023 **** v1 vsl| 1001 Filters c **** v1 vsl| 1001 RespHeader c Connection: keep-alive **** v1 vsl| 1001 Timestamp c Resp: 1737394169.313510 0.012514 0.000032 **** v1 vsl| 1001 ReqAcct c 51 0 51 197 0 197 **** v1 vsl| 1001 End c **** v1 vsl| 1000 SessClose c REM_CLOSE 0.013 **** v1 vsl| 1000 End c **** dT 3.243 *** v1 CLI RX 200 **** v1 CLI RX|Present bans: **** v1 CLI RX|1737394168.101169 1 C **** v1 CLI RX|1737394167.082556 0 - req.url == / **** v1 CLI RX|1737394166.775689 1 C ** v1 CLI 200 ** top === varnish v1 -expect bans == 1 **** dT 3.314 **** v1 vsl| 0 CLI - Rd ban.list **** v1 vsl| 0 CLI - Wr 200 110 Present bans: 1737394168.101169 1 C 1737394167.082556 0 - req.url == / 1737394166.775689 1 C **** dT 6.048 **** v1 vsl| 0 CLI - Rd ping **** v1 vsl| 0 CLI - Wr 200 19 PONG 1737394172 1.0 **** dT 8.316 ---- v1 Not true: bans (3) == 1 (1) * top RESETTING after ../../../../bin/varnishtest/tests/r01225.vtc ** s1 Waiting for server (4/-1) ** v1 Wait **** v1 CLI TX|panic.show **** dT 8.363 *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared **** dT 8.364 *** v1 debug|Info: manager stopping child *** v1 debug|Debug: Stopping Child **** dT 8.459 **** v1 vsl| 0 CLI - EOF on CLI connection, worker stops **** dT 9.169 *** v1 debug|Info: Child (2655273) said Child dies *** v1 debug|Info: Child (2655273) ended **** dT 9.175 *** v1 debug|Debug: Child cleanup complete *** v1 debug|Info: manager dies **** v1 STDOUT EOF **** dT 9.265 ** v1 WAIT4 pid=2655220 status=0x0000 (user 0.225089 sys 0.033087) * top TEST ../../../../bin/varnishtest/tests/r01225.vtc FAILED # top TEST ../../../../bin/varnishtest/tests/r01225.vtc FAILED (9.268) exit=2 FAIL tests/r01225.vtc (exit status: 2)